package com.pauldada.sakurabbs;

import com.pauldada.sakurabbs.dao.TaskRepository;
import com.pauldada.sakurabbs.dao.UserAccountRepository;
import com.pauldada.sakurabbs.file.FileProperty;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties({
		FileProperty.class
})
@MapperScan(basePackages = "com.pauldada.sakurabbs.dao")
public class SakuraBbsApplication {

	@Autowired
	TaskRepository taskRepository;

	@Autowired
	UserAccountRepository userAccountRepository;

	public static void main(String[] args) {
		SpringApplication.run(SakuraBbsApplication.class, args);
	}

}
